summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-08-26 00:06:03 +0200
committerGitHub <noreply@github.com>2023-08-26 00:06:03 +0200
commitbc4e58eb5180a1755d76a24ddc7684cc5d70f2b1 (patch)
treecb9fdd00e9e33e25b0f83d76dabf67791bd58fd7
parentMerge pull request #11378 from t895/game-flag (diff)
parentui: Fixed inverted controls on ReverseSlider widgets (diff)
downloadyuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.tar
yuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.tar.gz
yuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.tar.bz2
yuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.tar.lz
yuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.tar.xz
yuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.tar.zst
yuzu-bc4e58eb5180a1755d76a24ddc7684cc5d70f2b1.zip
-rw-r--r--src/yuzu/configuration/shared_widget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/configuration/shared_widget.cpp b/src/yuzu/configuration/shared_widget.cpp
index bdb38c8ea..4e45bc844 100644
--- a/src/yuzu/configuration/shared_widget.cpp
+++ b/src/yuzu/configuration/shared_widget.cpp
@@ -235,6 +235,7 @@ QWidget* Widget::CreateSlider(bool reversed, float multiplier, const QString& gi
slider->setValue(std::stoi(setting.ToString()));
slider->setInvertedAppearance(reversed);
+ slider->setInvertedControls(reversed);
serializer = [this]() { return std::to_string(slider->value()); };
restore_func = [this]() { slider->setValue(std::stoi(RelevantDefault(setting))); };